/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2025/2/19 1:15:35
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 新购物车
    /// </summary>
    public partial class CoreCmsNewCart
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public CoreCmsNewCart()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "")]

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]

        [Required(ErrorMessage = "请输入{0}")]



        public System.Int32 id { get; set; }


        /// <summary>
        /// 用户ID
        /// </summary>
        [Display(Name = "用户ID")]





        public System.Int32? userId { get; set; }


        /// <summary>
        /// 产品ID
        /// </summary>
        [Display(Name = "产品ID")]





        public System.Int32? productId { get; set; }


        /// <summary>
        /// 货品数量
        /// </summary>
        [Display(Name = "货品数量")]





        public System.Int32? nums { get; set; }


        /// <summary>
        /// 购物车类型
        /// </summary>
        [Display(Name = "购物车类型")]





        public System.Int32? type { get; set; }


        /// <summary>
        /// 关联对象序列
        /// </summary>
        [Display(Name = "关联对象序列")]





        public System.Int32? objectId { get; set; }


        /// <summary>
        /// 客户编号
        /// </summary>
        [Display(Name = "客户编号")]



        [StringLength(maximumLength: 30, ErrorMessage = "{0}不能超过{1}字")]

        public System.String number { get; set; }


        /// <summary>
        /// 产品价格
        /// </summary>
        [Display(Name = "产品价格")]





        public System.Decimal? price { get; set; }


        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "")]



        [StringLength(maximumLength: 200, ErrorMessage = "{0}不能超过{1}字")]

        public System.String proName { get; set; }


    }
}
